MailPoet\Services\Bridge A

Total Complexity 54
Dependencies 5
Dependents 33
Total lines 342
Lines of code 214
Logical lines of code 86
Comment lines 46
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
storeKeyAndState()
A
48 10 35
processKeyCheckResult()
A
48 8 34
getAuthorizedSenderDomains()
S
57 5 17
isMailpoetSendingServiceEnabled()
S
64 3 9
buildKeyState()
S
66 3 8
isMPSendingServiceEnabled()
S
64 3 9
__construct()
S
71 2 6
initApi()
S
67 2 8
storeSubscriptionType()
S
68 2 8
checkMSSKey()
S
72 1 6
updateSubscriberCount()
S
80 1 3
storePremiumKeyAndState()
S
79 1 3
checkPremiumKey()
S
72 1 6
storeMSSKeyAndState()
S
79 1 3
getRawSenderDomainData()
S
75 1 5
verifyAuthorizedSenderDomain()
S
74 1 5
createAuthorizedSenderDomain()
S
70 1 6
createAuthorizedEmailAddress()
S
74 1 5
getAuthorizedEmailAddresses()
S
75 1 5
getApi()
S
80 1 3
validateBridgePingResponse()
S
80 1 3
pingBridge()
S
65 1 9
isPremiumKeySpecified()
S
72 1 5
isMSSKeySpecified()
S
72 1 5
invalidateMssKey()
S
67 1 8